/*
 * Copyright (c) 2021 com.youkeyi. All rights reserved.
 *
 *  @author liuxiawang
 *  @location Shenzhen.China
 *  @date 4/1/21 9:38 PM
 */

package com.youkeyi.ddy.cloud.common.response;

import java.util.ArrayList;
import java.util.List;

/**
 * ResponseListContent
 *
 * @Author liuxiawang
 * @Date 2021-04-01 21:37
 * @Location shenzhen.china
 */
public class ResponseListContent<T> extends ResponseContent {

    public ResponseListContent() {
    }

    public ResponseListContent(boolean success, String message) {
        super(success, message);
    }

    private Long total;

    private List<T> rows = new ArrayList<>();

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }
}
